//Component Object
Component({
  properties: {
    src: {
      type: String,
      value: '/VScode/bg19.jpg',
      observer: function () {}
    },

  },

  data: {

  },
  methods: {
    handleTap() {
      console.log(this.properties.src);
      const {
        src
      } = this.properties;
      //出发父组件的自定义事件 事件名称aaa 
      // this.$emit('aaa', src)
      this.triggerEvent('aaa', src)
    },
  },
  created: function () {

  },
  attached: function () {

  },
  ready: function () {

  },
  moved: function () {

  },
  detached: function () {

  },
});